package com.lzy.crm.dao;


import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.lzy.crm.base.mybatis.BaseMapper;
import com.lzy.crm.base.page.PageQuery;
import com.lzy.crm.dao.criteria.CardFlowCriteria;
import com.lzy.crm.domain.CardFlow;


public interface CardFlowMapper extends BaseMapper<CardFlow, CardFlowCriteria>{

	
	public List<CardFlow> getCardFlowList(@Param("aId")String aId,@Param("bId")String bId,@Param("pageQuery")PageQuery pageQuery);
	
	
	/**
	 * 查询玩家流出房卡总数
	 * @param userId
	 * @param startTime
	 * @param entTime
	 * @return
	 */
	public Integer getCardinflow(@Param("aId")int userId,@Param("startTime")String startTime,@Param("entTime")String entTime);
	
}
